/**
 * 控制卡
 */

import { Card } from "../class/Card";
import { Context } from "../class/Context";

export class ControlCard extends Card {
    static cardName = "控制"
    static description = "控制敌人 5 秒，可以累加，在此期间禁止出牌、拿牌、释放操作。"
    public outHook(context: Context): void {
        const it = this.game.getRole(context.nextParam())

        it.addControlTime(5E3);
    }

}